package com.tgy;

import com.tgy.util.ApplicationStartup;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@MapperScan("com.tgy.dao")
@SpringBootApplication
public class CurdApplication {

    public static void main(String[] args) {
        //SpringApplication.run(CurdApplication.class, args);
        SpringApplication springApplication = new SpringApplication(CurdApplication.class);
        springApplication.addListeners(new ApplicationStartup());
        springApplication.run(args);
    }

}
